CC=gcc
CFLAGS=-Wall 
BASEPATH = ~/Thesis/Cprojects/SourceCode
objects = GrowRasterDemo.o \
			 $(BASEPATH)/API/grow/grow.o \
			 $(BASEPATH)/API/rasterScan/rasterScan.o

GrowRasterDemo: $(objects)
	$(CC) -o ../GrowRasterDemo $(objects)
grow.o: $(BASEPATH)/API/grow/grow.c
	$(CC) -o $(BASEPATH)/API/grow/grow.c 
rasterScan.o: $(BASEPATH)/API/rasterScan/rasterScan.c
	$(CC) -o $(BASEPATH)/API/rasterScan/rasterScan.c

clean:
	rm -f ../growDemo growDemo.o $(BASEPATH)/API/grow/grow.o
